home *** CD-ROM | disk | FTP | other *** search
/ PC PowerPlay 49 / PCPP49a.iso / editors / sofsdk / SoF SDK.msi / _3336C7CD640A453C9E295CBD371375F3 < prev    next >
Encoding:
Text File  |  2000-03-27  |  1.4 KB  |  42 lines

  1. // template file for newyork directory
  2.  
  3. #include "../common/header.ds"
  4.  
  5. output "p:/base/ds/tsr1"
  6.  
  7.  
  8.  
  9. local entity fuseguy // the guy hiding in the fusebox alcove
  10. local entity stepsguy1 // the first guy at the bottom of the steps
  11. local entity stepsguy2 // the second guy at the bottom of the steps
  12. local entity fusedoor // the door that will get kicked open
  13. local entity killhim68 // the player
  14. local int sig1
  15. local int sig2
  16.  
  17. fuseguy = find entity with targetname "fuseguy"
  18. stepsguy1 = find entity with targetname "stepsguy1"
  19. stepsguy2 = find entity with targetname "stepsguy2"
  20. fusedoor = find entity with targetname "fusedoor"
  21. killhim68 = find entity player
  22. // fusedoor.movetype = MOVETYPE_NOCLIP
  23.  
  24.  
  25. use entity stepsguy1 // spawns the first guy in
  26. use entity stepsguy2 // spawns the sec guy in
  27. animate entity stepsguy2 performing action SCRIPT_RELEASE
  28.  
  29. animate entity stepsguy1 performing action STD_FCORNERPEAK_RT_P_A targeting entity killhim68
  30. animate entity stepsguy1 performing action SCRIPT_RELEASE
  31.  
  32. animate entity fuseguy performing action STD_XKICKDOOR_N_A_A signaling sig1 // plays the kicking door animations
  33. animate entity fuseguy performing action SCRIPT_RELEASE
  34. wait .25 seconds
  35. moverotate entity fusedoor from file "generic_door_ccw.rof" signaling sig2 // rotates the door kicked open
  36. play sound "Impact/Vending/Kick.wav" for entity fusedoor at volume 0.9
  37. wait for all clearing sig1, sig2
  38.  
  39.  
  40.  
  41.  
  42.